package com.yh.Bean;

import java.util.Date;

public class Messages {
private int m_id;
private int u_id;
private String nickname;
private String countext;
private String state;
private String reply;
private Date m_time;
public Messages(int m_id, int u_id, String nickname, String countext,
		String state, String reply, Date m_time) {
	super();
	this.m_id = m_id;
	this.u_id = u_id;
	this.nickname = nickname;
	this.countext = countext;
	this.state = state;
	this.reply = reply;
	this.m_time = m_time;
}
public Messages() {
	super();
	// TODO Auto-generated constructor stub
}
public int getM_id() {
	return m_id;
}
public void setM_id(int m_id) {
	this.m_id = m_id;
}
public int getU_id() {
	return u_id;
}
public void setU_id(int u_id) {
	this.u_id = u_id;
}
public String getNickname() {
	return nickname;
}
public void setNickname(String nickname) {
	this.nickname = nickname;
}
public String getCountext() {
	return countext;
}
public void setCountext(String countext) {
	this.countext = countext;
}
public String getState() {
	return state;
}
public void setState(String state) {
	this.state = state;
}
public String getReply() {
	return reply;
}
public void setReply(String reply) {
	this.reply = reply;
}
public Date getM_time() {
	return m_time;
}
public void setM_time(Date m_time) {
	this.m_time = m_time;
}
@Override
public String toString() {
	return "Messages [m_id=" + m_id + ", u_id=" + u_id + ", nickname="
			+ nickname + ", countext=" + countext + ", state=" + state
			+ ", reply=" + reply + ", m_time=" + m_time + "]";
}

}
